<script type="text/javascript">
	function deleteImage(image) {
		$.ajax({
			url: '<{$HOME_URL}>update.php?action=deleteContentImage&image='+escape(image),
			success: function(msg) {
				getStockImages();
				alert(unescape(msg));
			}
 		});
	}
</script>
<{if $stockImages|@count > 0}>
	<{foreach from=$stockImages item=image}>
		<li class="stockImagesListEntry" style="height:80px;">
			<img src="<{$HOME_URL}>images/content/<{$image}>" style="height:60px;" onclick="selectImage('<{$image}>');" />
			<br />
			<a href="javascript:deleteImage('<{$image}>');" class="small-font">L&ouml;schen</a>
		</li>
	<{/foreach}>
<{else}>
	<div style="padding:5px;">
		Noch keine Bilder im Bestand vorhanden...
	</div>
<{/if}>